Class CustomBluetoothProcessImpl

All Implemented Interfaces:
IPCObject, CustomBluetoothProcess, Process

public class CustomBluetoothProcessImpl extends ProcessImpl implements CustomBluetoothProcess
Information provided by the PKI file:

    \class CustomBluetoothProcess
    
    \brief CustomBluetoothProcess is the process that manipulates the custom Bluetooth process.
    
    \example network().getDevice("SBC0").getProcess("BluetoothManager").createCustomBluetoothProcess()
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • start

      public boolean start(UUID service)
      Information provided by the PKI file:
      
          \brief Starts the custom bluetooth process on the specified service uuid.
          
          \param uuid, the service uuid.
          
          \return bool, true if successful, otherwise false.
          
              
      Specified by:
      start in interface CustomBluetoothProcess
      Parameters:
      service - Takes in a parameter of service
      Returns:
      boolean Returns a boolean
    • connect

      public boolean connect(MACAddress dstMac, UUID dstService)
      Specified by:
      connect in interface CustomBluetoothProcess
      Parameters:
      dstMac - Takes in a parameter of dstMac
      dstService - Takes in a parameter of dstService
      Returns:
      boolean Returns a boolean
    • stop

      public boolean stop()
      Information provided by the PKI file:
      
          \brief Stops the custom bluetooth process.
          
          \return bool, true if successful, otherwise false.
          
              
      Specified by:
      stop in interface CustomBluetoothProcess
      Returns:
      boolean Returns a boolean
    • isStarted

      public boolean isStarted()
      Information provided by the PKI file:
      
          \brief Returns true if the custom bluetooth process was started, otherwise false.
          
          \return bool, true if the custom bluetooth process was started, otherwise false.
          
              
      Specified by:
      isStarted in interface CustomBluetoothProcess
      Returns:
      boolean Returns a boolean
    • getServiceUuid

      public UUID getServiceUuid()
      Information provided by the PKI file:
      
          \brief Returns the service uuid of this custom Bluetooth process.
          
          \return uuid, the service uuid of this custom Bluetooth process.
          
              
      Specified by:
      getServiceUuid in interface CustomBluetoothProcess
      Returns:
      UUID Returns a UUID
    • getDstMac

      public MACAddress getDstMac()
      Specified by:
      getDstMac in interface CustomBluetoothProcess
      Returns:
      MACAddress Returns a MACAddress
    • getDstServiceUuid

      public UUID getDstServiceUuid()
      Specified by:
      getDstServiceUuid in interface CustomBluetoothProcess
      Returns:
      UUID Returns a UUID